﻿@using Dyn.News.Extensions;
@using Dyn.News.Models;
@using Orchard.ContentManagement;
@using Orchard.Utility.Extensions;
@{
    ContentItem contentItem = Model.ContentItem;
    NewsCategoryPart cate = (NewsCategoryPart)contentItem.Get(typeof(NewsCategoryPart));
}
<a href="@Url.CategoryForAdmin(cate)" title="@T("List Posts")">@T("List Posts")</a>@T(" | ")
<a href="@Url.ArticleCreate(cate)" title="@T("New Post")">@T("New Post")</a>@T(" | ")